package net.gyapp.markim.core.reponse;

import org.jim.common.packets.Command;

/**
 * Auther:  winds
 * Email:   heardown@163.com
 * Date:    2018/8/4.
 * Desc:
 */
public class UserGroupResponse extends ImResponse {

    public int code;
    public int command;
    public LoginResponse.DataBean.UserBean data;
    public String msg;

    @Override
    public Command getCommand() {
        return Command.valueOf(command);
    }
//
//    public static class DataBean {
//        public String avatar;
//        public String id;
//        public String nick;
//        public String status;
//        public String terminal;
//        public List<FriendsBean> friends;
//        public List<GroupsBean> groups;
//
//        public static class FriendsBean {
//            public String group_id;
//            public String name;
//            public List<LoginResponse.DataBean.UserBean.UserChildBean> users;
//        }
//
//        public static class GroupsBean {
//            public String avatar;
//            public String group_id;
//            public String name;
//            public List<LoginResponse.DataBean.UserBean.UserChildBean> users;
//
//        }
//    }


    @Override
    public String toString() {
        return "UserGroupResponse{" +
                "code=" + code +
                ", command=" + command +
                ", data=" + data +
                ", msg='" + msg + '\'' +
                '}';
    }
}
